package com.itheima.service.ums;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.vo.ums.AdminRole;
import com.itheima.vo.ums.UmsAdmin;

import java.util.HashMap;

public interface AdminService extends IService<UmsAdmin> {
    String login(UmsAdmin umsAdmin);

    HashMap<String, Object> info();

    Page<UmsAdmin> getPage(Integer pageNum, Integer pageSize, String keyword);

    void updateStatus(Integer id, Integer status);

    void saveRole(AdminRole adminRole);
}
